<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:useBean id="specialgoods" scope="request" class="domain.Goods" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'dealwith.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

	</head>

	<body>
		<center>
			<br />
			<table bordercolor="#FFFFFF" cellspacing="0" width="573" border="0"
				style="height: 470px;" height="470">
				<tr bgcolor="#66FFFF">
					<td colspan="2" height="25">
						序号<jsp:getProperty property="ID" name="specialgoods" />
					</td>
				</tr>
				<tr>
					<td width="280" rowspan="6">
						<img
							src="<jsp:getProperty name="specialgoods" property="imageUrl"/>"
							width="200" height="210" />
					</td>
					<td height="28">
						[名称]：<%=new String(specialgoods.getName().getBytes("ISO8859_1"), "utf-8") %></td>
				</tr>
				<tr>
					<td height="28">
						[价格]：<jsp:getProperty name="specialgoods" property="price" /></td>
				</tr>
				<tr>
					<td height="28">
						[已售]：<jsp:getProperty name="specialgoods" property="sales" /></td>
				</tr>
				<tr bgcolor="#66FFFF">
					<td height="28">
						[商品具体信息]
					</td>
					<td>
						<p align="left">
						</p>
					</td>
				</tr>
				<tr>
					<td colspan="2"><%=new String(specialgoods.getDescription().getBytes("ISO8859_1"), "utf-8") %></td>
				</tr>
			</table>
			<form
				action="cart?action=addgoods&goodsid=<jsp:getProperty name="specialgoods" property="ID"/>"
				method="post">
				<input name="action" type="submit" value="加入购物车" />
			</form>
		</center>
	</body>
</html>
